package spring.combination;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@CombinationAnnotation("spring.combination")
public class CombinationConfig {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(CombinationConfig.class);
        TestService bean = context.getBean(TestService.class);
        System.out.println(bean);
        context.close();
    }
}
